@import "../../../../sass/base.scss";

.attendance-container {
  width: 100%;
  height: 100%;
  padding: 7px 32px;
  ::ng-deep .ant-fullcalendar-header {
    display: none !important;
  }
  .attendance-body-calendar-head {
    padding-top: 20px;
    margin-bottom: 20px;
    text-align: center;
  }
  .attendance-body-calendar-body {
    height: calc(100% - 72px);
    overflow: auto;
  }
  ul {
    padding-left: 0;
    margin-bottom: 0;
  }
  li {
    list-style-type: none;
    margin-bottom: 10px;
    &:last-child {
      margin-bottom: 0;
    }
  }

  .attendance-head {
    height: 50px;
    line-height: 50px;
    font-size: 14px;
    overflow: hidden;

    .head-left {
      float: left;
    }

    .head-right {
      float: right;
    }
  }
  .attendance-body {
    height: calc(100% - 70px);
    width: 100%;
    background-color: white;
    box-shadow: 0px 0px 8px #ddd;
    // padding-bottom: 30px;
    // border-radius: 5px;
    .attendance-body-item-none ::ng-deep .ant-alert-info {
      background: #fafafa;
      border: 1px solid #d9d9d9;
    }
    .body {
      height: 100%;
      width: 100%;
    }
    ::ng-deep .ant-fullcalendar-fullscreen .ant-fullcalendar-date {
      height: 170px;
    }
    ::ng-deep .ant-fullcalendar-fullscreen .ant-fullcalendar-content {
      height: calc(100% - 24px);
    }
    ::ng-deep .ant-fullcalendar-fullscreen .ant-fullcalendar-value {
      text-align: left;
    }
    ::ng-deep .ant-alert.ant-alert-no-icon {
      padding: 0 0 0 10px;
    }
    ::ng-deep .ant-fullcalendar-last-month-cell,
    ::ng-deep .ant-fullcalendar-next-month-btn-day {
      // background-color: #e8e8e8;
      ul {
        display: none;
      }
      .ant-fullcalendar-date {
        &:hover {
          background-color: inherit;
        }
      }
    }
  }
}
.attendance-detail {
  .gutter-row {
    margin-bottom: 24px;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .pager {
    margin-top: 10px;
    text-align: center;
  }
  ::ng-deep .ant-card-body {
    padding: 10px;
  }
  .ant-card {
    border-radius: 5px;
  }
  .attendance-detail-left {
    float: left;
    margin-right: 10px;
    img {
      width: 100px;
      height: 120px;
    }
  }
  .attendance-detail-right {
    float: left;
    img {
      margin-right: 5px;
    }
    span {
      vertical-align: middle;
    }
    .attendance-detail-right-shangban {
      margin-top: 10px;
    }
    .attendance-detail-right-xiaban {
      margin-top: 5px;
      img {
        transform: rotate(180deg);
      }
    }
  }
}
